// 不严格
type User = {
    name: string;
    age: number;
    occupation: string;
}
const users:User[] = [
    {
        name: "merry",
        age: 18,
        occupation: "CEO"
    },
    {
        name: "lisa",
        age: 20,
        occupation: "CFO"
    }
]

users.map(user => `
    <li>${user.name}-${user.age}</li>
`)